package com.yanliang.pojo;

import lombok.Getter;
import lombok.Setter;

import javax.sql.DataSource;
import java.util.HashMap;
import java.util.Map;

/**
 * 映射配置类，用于存放sqlMapConfig.xml解析出来的值$
 *
 * @Author : yanliang
 * @Data : 3/25/2020 5:05 PM
 */
@Getter
@Setter
public class Configuration {

    /** 数据库数据源配置 */
    private DataSource dataSource;

    /** key：statementId value：封装好的mappedStatement对象 */
    private Map<String, MappedStatement> mappedStatementMap = new HashMap<>();
}
